package com.harrison.client.hystrix;

import com.harrison.client.UserServiceClient;
import com.harrison.dto.RespDTO;
import com.harrison.entity.User;
import org.springframework.stereotype.Component;

/**
 * @Auther: harrison
 * @Date: 2019/6/24 11:55
 * @Description:
 */
@Component
public class UserServiceHystrix implements UserServiceClient {
    @Override
    public RespDTO<User> getUser(String token, String username) {
        System.out.println(token);
        System.out.println(username);
        return null;
    }
}
